<h1 mat-dialog-title>你好</h1>
<div mat-dialog-content>
  <p>你确定要提交试卷吗？</p>
</div>
<div mat-dialog-actions>
  <button mat-button color="primary" (click)="onNoClick()" *ngIf="time >= 1">
    我再检查一下
  </button>
  <button mat-button (click)="onSubmit()">我已经准备好交卷了</button>
</div>
